C (234/301)

From:Steffen
Date:08 Aug 99 at 19:44:51
Subject:Re: Point()

From: Steffen <steffen.mars@stenloese.mail.telia.com>

Hello Mike

How about supplying a rastport to your bitmap and call ReadPixel() ?

On 08-Aug-99, Mike Carter claimed:
> From: Mike Carter <mike.carter@bigfoot.com>
>
> Hi all!
>
> Trying to knock out a point command (as found in Basic)
> tonight.
>
> The requirement of the command is to take an X,Y
> co-ords and bitmap pointer and return the colour value at a given
> position. Thing is this has gotta work with GFX cards
> (P96 / CGX) and AGA. The choice for bitmap storing was
> GUIGFX.library using the LoadPicture() command.
>
> What is the best way to attack this problem? Has
> anybody got a snippet of code they would be willing to
> share?
>
> Regards,
>
> Mike C.